<%@ page contentType="text/html;charset=UTF-8" %>
<%@include file="/commons/taglibs.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<base href="<%=basePath%>">
	<title>管理页面</title>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<meta http-equiv="Cache-Control" content="no-store"/>
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="0"/>
	<%@include file="/commons/jqueryeasyui.jsp" %>
	<style type="text/css">
	 	.tableList {
			background-color:#FFFFFF;
			border:1px solid #3BAAE3; 
			border-collapse:collapse;         
		}
		
		.tableList tr td{
			height:25px;
			border:1px solid #3BAAE3;   
		    border-collapse:collapse; 
		}
		a{text-decoration: none;cursor: pointer;}
		a:link {color: black}		/* 未访问的链接 */
		a:visited {color: black;}	/* 已访问的链接 */
		a:hover {color: black}	/* 鼠标移动到链接上 */
		a:active {color: black}	/* 选定的链接 */
 	</style> 
	<script type="text/javascript">
	
		function openMinDiv(url) {
   			$("#mainIframe").attr("src",url);
    	}
		
		function openMenu(url) {
			$("#mainDiv").panel('refresh',url);
			//openMenu('<c:url value="/admin/right.jsp"/>');
		}
	</script>
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="height:80px;padding:10px;background: url('<c:url value="/admin/themes/default/images/header_bg2.gif"/>');">
	</div>
	<div data-options="region:'west',split:true,title:'菜单导航'" style="width:200px;padding:10px;">
		<ul id="navMenu" class="easyui-tree" data-options="animate:true,dnd:false,lines:true,
			onClick:function(node){
				if($('#navMenu').tree('isLeaf',node.target)) {
				} else {
					$('#navMenu').tree('toggle',node.target);
				}
			}">
			<li>
				<span>用户管理</span>
				<ul>
					<li>
						<span>
							<a href="javascript:void(0);" onclick="openMinDiv('<c:url value="/admin/pages/User/goListPage.do"/>');">
							用户管理
							</a>
							</span>
					</li>
					<li>
						<span>
							<a href="javascript:void(0);" onclick="openMinDiv('<c:url value="/admin/pages/Menu/goListPage.do"/>');">
							菜单管理
							</a>
						</span>
					</li>
					<li>
						<span>
							<a href="javascript:void(0);" onclick="openMinDiv('<c:url value="/admin/pages/Role/goListPage.do"/>');">
							角色管理
							</a>
						</span>
					</li>
				</ul>
			</li>
			<li data-options="state:'closed'">
				<span>xx管理</span>
				<ul>
					<li>
						<span><a href="#">File 11</a></span>
					</li>
				</ul>
			</li>
		</ul>
	</div>
	<div id="bottomDiv" data-options="region:'south',border:false" style="height:27px; line-height:27px;background:url('<c:url value="/admin/themes/default/images/bottom_bg.gif"/>');" align="center">
			@south region
	</div><!--  -->
	<div id="mainDiv" data-options="region:'center'" style="overflow:hidden;border:0px;">
 		<iframe id="mainIframe" src="<c:url value="/admin/right.jsp"/>" frameborder="0" style="border:0;width:100%;height:100%;"></iframe> 
	</div>
</body>
</html>
